package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.entity.AttrEntity;
import com.atguigu.gulimall.product.vo.AttrAttrGroupVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.AttrAttrgroupRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author syf
 * @email syf@gmail.com
 * @date 2024-11-27 14:46:11
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<AttrEntity> listAttrToGroup(Long attrGroupId);

    PageUtils queryNoAttrRelation(Map<String, Object> params, Long attrGroupId);

    void removeAttrAttrGroupRelation(List<AttrAttrGroupVo> vos);

    void saveBatchA(List<AttrAttrGroupVo> vos);
}

